package com.wuzu.ecommerce.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * (Label)实体类
 *
 * @author jsm
 * @since 2023-03-26 17:23:17
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_label")
public class Label implements Serializable {
    private static final long serialVersionUID = -70585684038120069L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 标签名称
     */
    @TableField(value = "label_name")
    private String labelName;

    /**更新时间*/
    /**
     * 修改时间
     */
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    /**
     * 打标签条件
     */
    @TableField(value = "label_condition")
    private String labelCondition;
}
